<?php
/**
 * Created by PhpStorm.
 * User: Chris
 * Date: 14-7-30
 * Time: 下午4:59
 */

return array(
    'crawler' => array(
        'get_list_success' => function($data)
            {
                Log::info("get_list_success!!!");
                echo "get_list_success from event.php";
            },
        'get_list_error' => function($data)
            {
                Log::info("get_list_error!!!");
                echo "get_list_error from event.php";

            },
    ),

    'yilian'=> array(
        'transaction_sent'=>function($data){
                var_dump($data);
                $data =json_decode($data);
                $sn = $data->SN;
                $data = $data->raw;
//                    Log::info("yilian_transaction_sent!!!");
                    echo "SN[$sn] [$data]";
            },
        'transaction_response'=>function($data){

            }
    )

);